

package com.hexinfo.dmpro.dev.data.transfer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hexinfo.dmpro.dev.data.transfer.model.DevDataImportTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 总导入任务表
 *
 * @author yyh.huang
 * @date 2023-10-25 19:18:17
 */
@Mapper
public interface DevDataImportTaskMapper extends BaseMapper<DevDataImportTask> {

    int modifySuccessNumByTaskCode(@Param("taskCode") String taskCode);

    int modifyFailNumByTaskCode(@Param("taskCode") String taskCode);

    int reduceSuccessNumByTaskCode(@Param("taskCode") String taskCode);

    int reduceFailNumByTaskCode(@Param("taskCode") String taskCode);

    int modifyStatusByTaskCode(@Param("taskCode") String taskCode, @Param("endTime") String endTime);

}
